#!/bin/bash

# subAdd11.sh

forFile7=`cat ./forFile7.sh`

echo -e '-sh脚本for循环命令解说-'"\r\n"$forFile7

echo "\r"
echo "\r\n"
echo "\n"

memo=$(cat ../memo/memo.sh)

echo -e '-sh脚本多行注释-'"\r\n"${memo}

echo "\n"

# 计算1-100之间所有数的和

declare -i sum=0

for I in {1..100};do
 let sum+=$I
done
echo "1-100 all positive integer's sum : $sum"
